/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Microsoft
 * Date: 2023-01-06
 * Time: 14:09
 */
class Student{

}
public class Test {
    public static void main(String[] args) {
        String str1 = "ababcabcdabcde";
        String str2 = str1.replaceFirst("abc","666");
        System.out.println(str2);
    }
}




